home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / giochi / demon.lha / Demon / Designing Cards.doc < prev    next >
Text File  |  1993-09-27  |  9KB  |  178 lines

  1.                   ***********************************
  2.                   **                               **
  3.                   **  DESIGNING NEW CARD GRAPHICS  **
  4.                   **                               **
  5.                   ***********************************
  6.  
  7.  
  8. All the card graphics files are now standard ILBM format files which means
  9. you can use an art package such as Deluxe Paint to create new designs. The
  10. procedure is very simple and as long as you are familiar with Deluxe Paint,
  11. it should be within the capability of even the most Neanderthal Amiga user.
  12. I know you're just dying to get stuck into designing some hot new card
  13. graphics so here's an quick idiot's guide to get you started :
  14.  
  15.  
  16.                 ** Designing a new 8 colour card back **
  17.  
  18. [1]  Load up your latest version of Deluxe Paint and select Med-Res, (640 x
  19.      200), 8 colour screen.
  20.  
  21. [2]  Load an existing card graphics file from the "Card Backs/" drawer.
  22.      "Blue" will do nicely. Design a new pattern for the back of the
  23.      card, on top of the old design. Don't forget to modify the small
  24.      re-deal icon as well, and the foundations outline if you wish.
  25.  
  26. [3]  Save your design under a different name in the same Card Backs drawer.
  27.    
  28. [4]  Load a game and select "Card Graphics" from under the "Preferences"
  29.      menu. Click on "Card Backs" and select your new design from the file
  30.      requester. Then start a new game and admire your work.
  31.  
  32. [5]  Consider sending me a teensy weensy donation for providing you with
  33.      such an entertaining product (in return, I'll send you two disks full
  34.      of card graphics, sound effects and latest versions of all the card
  35.      games I have written to date. Check out the "About" menu for more info.
  36.    
  37.  
  38. You can design new card faces, symbols and sets in a similar manner. You
  39. should find that designing these new card graphics is really quite easy.
  40. However, people have been known to cock up much simpler things so here are
  41. a few Top Tips :
  42.  
  43.  
  44. [1]  Make a backup of your disks first, 'cos you never know !
  45.  
  46. [2]  Card Faces and Symbols must be 8 colour 640 pixel wide ILBM files. Card
  47.      backs and Card sets must also be 640 pixel wide ILBM but can be either
  48.      8 or 16 colours. Card movement with 16 colour cards may start to get
  49.      jerky though. I advise you to follow the asterisk* name convention that
  50.      I've adopted to distinguish 8 colour files from 16 colour ones.
  51.  
  52. [3]  The graphics are carefully positioned on the screen, so don't move
  53.      them. You will obtain a card set template when you register. Also note
  54.      that card faces should be 4 Jacks, 4 Queens, 4 Kings, Ace of Spades in
  55.      the order Spades, Hearts, Clubs, Diamonds from left to right.
  56.    
  57. [4]  To maintain as much compatibility between card combinations as
  58.      possible, colours 0-7 shouldn't be changed. However, colours 8-15 can
  59.      be set to any values you like, but bear in mind that some numbers are
  60.      used for highlighting and menu and gadget selection. (See later).
  61.  
  62. [5]  If you're modifying an existing graphics file with Deluxe Paint, make
  63.      sure you select "No Icons" from the "Prefs" menu before saving the
  64.      file. If you don't then Deluxe Paint will replace my nice custom
  65.      designed card icons with its 'orrible oil painting icon ..... yuk !
  66.  
  67. [6]  Before saving a Card Back, set the background pen to the colour you
  68.      wish to appear transparent. This is usually green but will have to be
  69.      some other colour if you want to use green in your back design.
  70.  
  71. That's about it, so good luck with your designs. If you come up with any you
  72. are really proud of, then please send them to me and I'll compile the best
  73. and send them to Monsieur Poisson in the near future. Only send new card
  74. faces or sets though. I already have loads of back designs as these are
  75. really simple to create and unless yours are really good, then I'd rather I
  76. wasn't swamped with them.
  77.  
  78. My permanent address is :
  79.  
  80. 30 Coronation Drive, Penketh, Warrington, Cheshire, WA5 2DD, ENGLAND.
  81.  
  82.  
  83.        ** Technical (but not very) Card Graphics Information **
  84.  
  85. Compressed ILBM files (DPaint) or uncompressed ILBM files (not recommended)
  86. are recognised. All files must be hi-res non-interlaced 640 pixels wide.
  87. The height doesn't really matter as the programs will only load as much
  88. as they need.
  89.  
  90. One of two methods are used to create a full pack of cards.
  91.  
  92. [1]  If you have specified a Card Faces file then my program uses the blank
  93.      card from the selected card back file, fills in the re-deal symbol with
  94.      a white block 54 pixels wide, then uses the face and symbols graphics
  95.      to create 52 cards. This method is the most efficient in terms of disk
  96.      space used as all that is needed is 12 picture cards + 1 ace of spades
  97.      (faces), a set of suits and numbers graphics (symbols) and card back,
  98.      redeal and foundation designs (backs). You'll notice that these three
  99.      files are very small in length as DPaint compresses the screen's blank
  100.      sections.
  101.  
  102. [2]  When you select a Card Set, the program creates a pack from this single
  103.      file and ignores all other graphics files (except an optional card
  104.      back). A card set file contains individual designs for each of the 52
  105.      cards, backs, redeal and foundations. Therefore these files take up
  106.      much more disk space and take much longer to design but offer more
  107.      flexibility than method [1].
  108.  
  109.  
  110. When using method [1], a card mask is created from the card back design
  111. using the background pen (selected from DPaint) as the transparent colour.
  112. This will usually be colour 0 (green). However, if you are using an 8 colour
  113. card back and you wish to use green in the design (eg for the Lemming's
  114. hair) then these areas would appear as transparent windows. To prevent this
  115. you need to select an unused colour as the background colour, then fill
  116. areas not belonging to the card with this colour. These sections will then
  117. be transparent when you are playing the game and the green areas will be
  118. solid. See the "Lemmings" Card Backs if you don't know what I'm going on
  119. about.
  120.  
  121. Anyway, back to the card mask.... Once the mask has been created from the
  122. card back, it is mirrored vertically and applied to each of the 52 card
  123. faces. This means that you can design a card back with a transparent section
  124. torn from it and the whole pack of cards will resemble this card back (see
  125. "Defect" for an example.)
  126.  
  127. When you select a Card Set, however, things are done a little differently.
  128. An individual card mask is created for each of the 52 card faces using
  129. colour 0 as the transparent colour. During play, when a card is displayed
  130. face down on the screen, it's individual face-up card mask is mirrored and
  131. applied to a card back design. This enables each card to have a different
  132. piece torn out of it, and when it is turned face down, the back should
  133. resemble the face up shape. When you use method [1] to create torn cards,
  134. you end up with 52 clones rather than method [2]'s 52 individual cards. If
  135. you have a play about with various combinations of card sets and card backs
  136. then, you should start to understand what's going on.
  137.  
  138. One final note, on the colour palette :
  139.  
  140. As mentioned earlier, Card Faces and Symbols should be 8 colour but Backs
  141. and Sets can be 8 or 16. The reason I've not implemented 16 colour Card
  142. Faces is to prevent colour clashes between them and 16 colour Card Backs.
  143. Card sets and Card Backs are not usually combined so it doesn't really the
  144. colours don't really matter there.
  145.  
  146. Colours 0 to 7 are fixed and should be set as follows (R,G,B) :
  147.                
  148.                 Colour 0 : (0,7,0)     Green
  149.                 Colour 1 : (15,15,15)  White
  150.                 Colour 2 : (15,13,0)   Yellow
  151.                 Colour 3 : (0,2,10)    Blue
  152.                 Colour 4 : (15,0,0)    Red
  153.                 Colour 5 : (8,8,8)     Grey
  154.                 Colour 6 : (15,8,5)    Pink
  155.                 Colour 7 : (10,0,0)    Black
  156.  
  157. If you wish to design sixteen colour cards then you can use colours 8 to 15
  158. as you wish. However, the following three colours are used by the system and
  159. you may wish to set them to acceptable values.
  160.  
  161.   Colour 8  : Main Menu Text           (Default White ......... 15,15,15)
  162.   Colour 10 : File Requester Selection (Default Bright Blue ... 0,2,10)
  163.   Colour 14 : Main Menu Highlighting   (Default Light Blue .... 0,8,12) 
  164.  
  165. When a card is moved to a valid position, the following colour changes
  166. occur to highlight the card :
  167.  
  168.   White (Colour 1) -> Grey  (Colour 5)
  169.   Blue  (Colour 3) -> Black (Colour 7)
  170.          Colour 9  -> Colour 13
  171.          Colour 11 -> Colour 15
  172.          
  173. All other colours remain unaltered. You only need to worry about these if
  174. you intend to use a colour other than white (colour 1) for your cards.
  175.  
  176. Have fun .........
  177.                     Pete (19th Jan 1993)
  178.